Skip to content

Instantly share code, notes, and snippets.

@tuxfight3r
tuxfight3r / vim-shortcuts.md
Last active March 10, 2026 18:51
VIM SHORTCUTS

VIM KEYBOARD SHORTCUTS

MOVEMENT

h        -   Move left
j        -   Move down
k        -   Move up
l        -   Move right
$        -   Move to end of line
0        -   Move to beginning of line (including whitespace)
@storage-explorer
storage-explorer / azure-storage-explorer.md
Created March 10, 2026 18:49
Download Azure Storage Explorer

Download Azure Storage Explorer on Windows

Azure Storage Explorer is a free cross-platform tool from Microsoft that allows developers and administrators to manage and explore Azure storage resources through a graphical interface. It simplifies working with Azure Blob Storage, Data Lake Storage, Queue Storage, and Table Storage without requiring complex command-line tools.

Azure Storage Explorer

@max10rogerio
max10rogerio / slugify.ts
Last active March 10, 2026 18:47
Typescript slug function
// MIT License
// Copyright (c) 2023 Max Rogério
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@seunggabi
seunggabi / semantic-branch-names.md
Last active March 10, 2026 18:45
Semantic Branch Names

Semantic Branch Names

See how a minor change to your branch name style can make you a better programmer.

Format: <type>/#<issueNumber>-<alias>

Example

@skrymets
skrymets / Cornell's Notes Template.md
Last active March 10, 2026 18:44
Cornell Note Template for Obsidian
cssclass
cornell-note
Cues

Notes

The Cornell Note-taking System is a popular and effective method for organizing and summarizing information during lectures, readings, or any other form of learning.

@iam-veeramalla
iam-veeramalla / llms_on_cpu.md
Created March 8, 2026 19:08
Run LLMs locally on CPU Architecture

Run LLMs Locally Using llama.cpp

This tutorial shows how to run Large Language Models locally on your laptop using llama.cpp and GGUF models.

It works on:

  • macOS
  • Linux
  • Windows
@tophf
tophf / patch-chrome-mv2-2025-11-18.ps1
Last active March 10, 2026 18:44
Enables ManifestV2 for extensions in Chrome 140+
<# 1. To patch dll in a protected folder like "c:\program files" run this script as Administrator.
2. If your Windows isn't configured to run ps1 files, you can run it from command prompt like this:
powershell -ep bypass -noprofile "patch-chrome-mv2.ps1"
#>
param([string]$dll, [string]$dir = $pwd)
function doPatch([string]$path, [string]$pathLabel = '') {
$dll = $script:dll = if ($path.EndsWith('\')) { Join-Path $path chrome.dll } else { $path }
if (!(Test-Path -literal $dll)) { return }
$localAppData = [Environment]::GetFolderPath('LocalApplicationData')
@ricardodantas
ricardodantas / validacao+mascara.js
Last active March 10, 2026 18:44
Máscara e validação de RG, CNPJ, CPF, etc...
// JavaScript Document
// adiciona mascara para rg
// Cada estado têm regras e quantidades diferentes de números no registro. Por isso,
// não há uma maneira confiável de fazer a validação do mesmo.
function MascaraRg(v0,errChar='?'){
const v = v0.toUpperCase().replace(/[^\dX]/g,'');
return (v.length==8 || v.length==9)?
v.replace(/^(\d{1,2})(\d{3})(\d{3})([\dX])$/,'$1.$2.$3-$4'):
(errChar+v0)
@chenhunghan
chenhunghan / gist.md
Last active March 10, 2026 18:41
One Prompt to Save 90% Context for Any MCP Server

Local Code Mode for MCP

Most MCP servers just wrap CRUD JSON APIs into tools — I did it too with scim-mcp and garmin-mcp-app. It works, until you realize a tool call dumps 50KB+ into context.

MCP isn't dead — but we need to design MCP tools with the context window in mind.